/**
 * Created by chesw on 2017/5/11.
 * describe：病例列表
 */
var casesList = Vue.extend({
    props: [],
    methods: {
        detail: function () {
            this.$emit('detail', Personal.CASESDETAIL);
        }
    },
    template: '<div class="cases-list">' +
        '<ul>' +
            '<li class="cases-one">' +
                '<div class="l-case-one">' +
                    '<div class="date">' +
                        '<p class="month-day">12/10</p>' +
                        '<p class="year">2017</p>' +
                    '</div>' +
                '</div>' +
                '<div class="r-case-one">' +
                    '<img class="process" src="../image/icon/process_green.png">' +
                    '<div class="doctor-info flex">' +
                        '<img src="../image/doctor.png" onerror="javascript:this.src=\'/Styles/image/default_head.png\'">' +
                        '<span class="name">张学友 &nbsp;&nbsp;</span>' +
                        '<span class="worker">[感染肝病科-主任医师] &nbsp;</span>' +
                        '<span class="doctor-type">接诊医师</span>' +
                        '<span class="detail-btn" @click="detail">查看详情</span>' +
                    '</div>' +
                    '<div class="diagnostic-result">' +
                        '<div class="result">' +
                            '<span class="title">就诊人</span>' +
                            '<span class="value">陈三四</span>' +
                        '</div>' +
                        '<div class="result">' +
                            '<span class="title">主&nbsp;&nbsp;&nbsp;&nbsp;诉</span>' +
                            '<span class="value">失眠多梦</span>' +
                        '</div>' +
                        '<div class="result">' +
                            '<span class="title">诊断结果</span>' +
                            '<span class="value">轻度失眠</span>' +
                        '</div>' +
                        '<div class="result">' +
                            '<span class="title">诊断建议</span>' +
                            '<span class="value">睡前可以听听音乐放松放松自己，必要的时候可选择服用乱七八糟的药物都可以</span>' +
                        '</div>' +
                    '</div>' +
                '</div>' +
            '</li>' +
        '</ul>' +
    '</div>'
});